;;; guix-config --- additional software for a custom configuration of gnu-guix
;;; Copyright © 2020 Kolya <kolya.daemon@vfemail.net>
;;;
;;; This file is part of guix-config
;;;
;;; guix-config is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; guix-config is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (kolyad packages freedesktop)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system meson)
  #:use-module (gnu packages)
  #:use-module (gnu packages freedesktop))

(define-public wayland-1.19
  (package
    (inherit wayland)
    (name "wayland")
    (version "1.19.0")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://wayland.freedesktop.org/releases/"
                                  name "-" version ".tar.xz"))
              (sha256
               (base32
                "05bd2vphyx8qwa1mhsj1zdaiv4m4v94wrlssrn0lad8d601dkk5s"))))))

;;(define-public xdg-desktop-portal-wlr
;;  (package
;;    (name "xdg-desktop-portal-wlr")
;;    (version "0.1.0")
;;    (source (origin
;;              (method url-fetch)
;;              (uri (string-append "https://github.com/emersion/xdg-desktop-portal-wlr/releases/download/v"
;;                                   version "/xdg-desktop-portal-wlr-" version ".tar.gz"))
;;              (sha256
;;                (base32 "0hg5m3yqpfdxpx5yczkz6gd2df51qi7d82gm78r9im2bdwiprmk9"))))
;;    (build-system meson-build-system)
;;    (inputs
;;      `(("xdg-desktop-portal" ,xdg-desktop-portal)
;;        ("pipewire" ,pipewire))) ; XXX: Need pipewire>=0.2.9
;;    (native-inputs
;;      `(("pkg-config" ,pkg-config)
;;        ("wayland", wayland)
;;        ("wayland-protocols" ,wayland-protocols)))
;;    (home-page "https://github.com/emersion/xdg-desktop-portal-wlr")
;;    (synopsis "wlroots backend for freedesktop portals")
;;    (description "@code{xdg-desktop-portal-wlr} is a backend for @code{xdg-freedesktop-portal}")
;;    (license license:expat)))

;;; vim: set expandtab tabstop=2 shiftwidth=2
;;; end of freedesktop.scm
